package com.iclient.dao.service;

import com.iclient.dao.model.Img;
import com.iclient.dao.model.MCookie;

public interface ImgService {
	
	void insert(Img img);

	Img findImg(String type);
	
	void update(Img img);
	
	String getCode();

	void delete(String type);

	/**
	 * 保存登录成功后的session
	 * @param cookieText
	 * @param type
	 */
	void saveLoginCookie(String cookieText, String type);
	
	/**
	 * 查找cookie
	 * @param type
	 * @return
	 */
	MCookie findCookie(String type);
}
